projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2f9893
)
tegra20: initialize variable to avoid compiler warning
author
Allen Martin
<
[email protected]
>
Fri, 19 Oct 2012 21:18:03 +0000
(21:18 +0000)
committer
Tom Warren
<
[email protected]
>
Mon, 29 Oct 2012 16:07:06 +0000
(09:07 -0700)
Initialize this variable to avoid a compiler warning about possible
use of uninitialized variable with gcc 4.4.6.
Signed-off-by: Allen Martin <
[email protected]
>
Acked-by: Stephen Warren <
[email protected]
>
Acked-by: Simon Glass <
[email protected]
>
Tested-by: Simon Glass <
[email protected]
>
Signed-off-by: Tom Warren <
[email protected]
>
arch/arm/cpu/tegra20-common/emc.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/tegra20-common/emc.c
b/arch/arm/cpu/tegra20-common/emc.c
index 97420d70661b6af167ffa4d5d576e0b91552fe01..90edf00a5e308f428400a2ecbe34fc9464821ae2 100644
(file)
--- a/
arch/arm/cpu/tegra20-common/emc.c
+++ b/
arch/arm/cpu/tegra20-common/emc.c
@@
-257,7
+257,7
@@
static int decode_emc(const void *blob, unsigned rate, struct emc_ctlr **emcp,
int tegra_set_emc(const void *blob, unsigned rate)
{
struct emc_ctlr *emc;
- const u32 *table;
+ const u32 *table
= NULL
;
int err, i;
err = decode_emc(blob, rate, &emc, &table);